package com.kangyi.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 封装分页查询结果
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "入住管理分页数据返回格式")
public class EntryManagementPageResult implements Serializable {
    @ApiModelProperty("总记录数")
    private long total;
    @ApiModelProperty("当前页数据集合")
    private List records;
    @ApiModelProperty("待审核的总记录数")
    private Integer pendingReview;
    @ApiModelProperty("通过的总记录数")
    private Integer approved;
    @ApiModelProperty("驳回的总记录数")
    private Integer rejected;

}
